package com.kangaroo.myhome.mapper;

import com.kangaroo.myhome.model.CommonSearch;
import com.kangaroo.myhome.model.TInspSubway;
import com.kangaroo.myhome.model.TInspVideo;
import com.kangaroo.myhome.model.TInspVideoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TInspVideoMapper {

    List<TInspVideo> selectByPagination(CommonSearch commonSearch);

    long selectByPaginationCount(CommonSearch commonSearch);

    long countByExample(TInspVideoExample example);

    int deleteByExample(TInspVideoExample example);

    int deleteByPrimaryKey(String id);

    int insert(TInspVideo record);

    int insertSelective(TInspVideo record);

    List<TInspVideo> selectByExample(TInspVideoExample example);

    TInspVideo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TInspVideo record, @Param("example") TInspVideoExample example);

    int updateByExample(@Param("record") TInspVideo record, @Param("example") TInspVideoExample example);

    int updateByPrimaryKeySelective(TInspVideo record);

    int updateByPrimaryKey(TInspVideo record);
}